package com.nashuju.web.entity.sw;

import java.util.Date;

import org.durcframework.core.expression.annotation.ValueField;
import org.durcframework.core.support.SearchEasyUI;
import org.durcframework.core.util.DateUtil;


public class SReceiptSch extends SearchEasyUI{

	//根据时间进行搜索的部分
	private Date createdStartSch;
	private Date createdEndSch;

	@ValueField(column = "createdTime", equal = ">=")
	public Date getCreatedStartSch() {
		return createdStartSch;
	}

	public void setCreatedStartSch(Date createdStartSch) {
		this.createdStartSch = createdStartSch;
	}

	@ValueField(column = "createdTime", equal = "<")
	public Date getCreatedEndSch() {
		if (createdEndSch != null) {
			return DateUtil.getDateAfterDay(createdEndSch, 1);
		}
		return createdEndSch;
	}

	public void setCreatedEndSch(Date createdEndSch) {
		this.createdEndSch = createdEndSch;
	}


    private Integer idSch;
    private String ticketNumberSch;
    private String modeSch;
    private String amountSch;
    private Date dateSch;
    private Date editedTimeSch;
    private Date createdTimeSch;
    private String uuidSch;
    private Integer taskIdSch;
    private Integer constractIdSch;
    private String nameSch;
    private String abstractInfoSch;
    private String remarkSch;
    private String belongUnitSch;
    private Integer statusSch;
    private Integer applyIdSch;
    private Integer varifyIdSch;

    public void setIdSch(Integer idSch){
        this.idSch = idSch;
    }
    
    @ValueField(column = "id")
    public Integer getIdSch(){
        return this.idSch;
    }

    public void setTicketNumberSch(String ticketNumberSch){
        this.ticketNumberSch = ticketNumberSch;
    }
    
    @ValueField(column = "ticket_number")
    public String getTicketNumberSch(){
        return this.ticketNumberSch;
    }

    public void setModeSch(String modeSch){
        this.modeSch = modeSch;
    }
    
    @ValueField(column = "mode")
    public String getModeSch(){
        return this.modeSch;
    }

    public void setAmountSch(String amountSch){
        this.amountSch = amountSch;
    }
    
    @ValueField(column = "amount")
    public String getAmountSch(){
        return this.amountSch;
    }

    public void setDateSch(Date dateSch){
        this.dateSch = dateSch;
    }
    
    @ValueField(column = "date")
    public Date getDateSch(){
        return this.dateSch;
    }

    public void setEditedTimeSch(Date editedTimeSch){
        this.editedTimeSch = editedTimeSch;
    }
    
    @ValueField(column = "edited_time")
    public Date getEditedTimeSch(){
        return this.editedTimeSch;
    }

    public void setCreatedTimeSch(Date createdTimeSch){
        this.createdTimeSch = createdTimeSch;
    }
    
    @ValueField(column = "created_time")
    public Date getCreatedTimeSch(){
        return this.createdTimeSch;
    }

    public void setUuidSch(String uuidSch){
        this.uuidSch = uuidSch;
    }
    
    @ValueField(column = "uuid")
    public String getUuidSch(){
        return this.uuidSch;
    }

    public void setTaskIdSch(Integer taskIdSch){
        this.taskIdSch = taskIdSch;
    }
    
    @ValueField(column = "task_id")
    public Integer getTaskIdSch(){
        return this.taskIdSch;
    }

    public void setConstractIdSch(Integer constractIdSch){
        this.constractIdSch = constractIdSch;
    }
    
    @ValueField(column = "constract_id")
    public Integer getConstractIdSch(){
        return this.constractIdSch;
    }

    public void setNameSch(String nameSch){
        this.nameSch = nameSch;
    }
    
    @ValueField(column = "name")
    public String getNameSch(){
        return this.nameSch;
    }

    public void setAbstractInfoSch(String abstractInfoSch){
        this.abstractInfoSch = abstractInfoSch;
    }
    
    @ValueField(column = "abstract_info")
    public String getAbstractInfoSch(){
        return this.abstractInfoSch;
    }

    public void setRemarkSch(String remarkSch){
        this.remarkSch = remarkSch;
    }
    
    @ValueField(column = "remark")
    public String getRemarkSch(){
        return this.remarkSch;
    }

    public void setBelongUnitSch(String belongUnitSch){
        this.belongUnitSch = belongUnitSch;
    }
    
    @ValueField(column = "belong_unit")
    public String getBelongUnitSch(){
        return this.belongUnitSch;
    }

    public void setStatusSch(Integer statusSch){
        this.statusSch = statusSch;
    }
    
    @ValueField(column = "status")
    public Integer getStatusSch(){
        return this.statusSch;
    }

    public void setApplyIdSch(Integer applyIdSch){
        this.applyIdSch = applyIdSch;
    }
    
    @ValueField(column = "apply_id")
    public Integer getApplyIdSch(){
        return this.applyIdSch;
    }

    public void setVarifyIdSch(Integer varifyIdSch){
        this.varifyIdSch = varifyIdSch;
    }
    
    @ValueField(column = "varify_id")
    public Integer getVarifyIdSch(){
        return this.varifyIdSch;
    }


}